package com.gl.saasservice.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 企业与标签关系表
 */
@Entity
@Table(name = "saas_department_enterprise_tag_ref")
public class DepartmentEnterpriseTagRef extends IdEntity {
    @Basic
    @Column(name = "dep_ref_id", nullable = true)
    private Long depRefId; //层级关系id

    @Basic
    @Column(name = "tag_id", nullable = true)
    private Long tagId; //标签id

    public Long getDepRefId() {
        return depRefId;
    }

    public void setDepRefId(Long depRefId) {
        this.depRefId = depRefId;
    }

    public Long getTagId() {
        return tagId;
    }

    public void setTagId(Long tagId) {
        this.tagId = tagId;
    }
}
